package com.myaihui.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.myaihui.foudation.model.Domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * *******************************
 * Created by Tim.
 * form com.matt
 * on 2018/5/24
 * *******************************
 */
@Data
@Table(name = "user")
@Entity
@EqualsAndHashCode(callSuper = true)
public class User extends Domain{

    @Column(columnDefinition = "varchar(50) COMMENT '名字'")
    private String name;

    @Column(columnDefinition = "varchar(20) COMMENT '身份证号'")
    private String idCard;

}
